package cn.itcast.nems.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author liyong
 * create: 2023-08-31 14:35:11
 **/
public abstract class UUIDEntity extends BaseEntity {

    /**
     * UUID主键
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
